package com.zyf.system.controller.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 张云帆
 * 2025/4/2 11:40
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ScheduleAddDto {
    @ApiModelProperty(value = "医生id",required = true,example = "1")
    @NotNull(message = "医生id不能为空")
    private Integer doctorId;

    @ApiModelProperty(value = "科室id",required = true,example = "1")
    @NotNull(message = "科室id不能为空")
    private Integer departmentId;

    @ApiModelProperty(value = "开始时间",required = true,example = "2025-04-02 11:13:00")
    @NotNull(message = "开始时间不能为空")
    private Date startTime;

    @ApiModelProperty(value = "结束时间",required = true,example = "2025-04-02 12:13:00")
    @NotNull(message = "结束时间不能为空")
    private Date endTime;

    @ApiModelProperty(value = "最大挂号数",example = "1")
    private Integer maxPatients;

    @ApiModelProperty(value = "当前挂号数",example = "1")
    private Integer currentPatients;
}
